﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MarvellousWorks.PracticalPattern.FactoryMethod.Batch
{
    public interface IBatchFactory
    {
        /// <summary>
        /// 批量创建产品
        /// </summary>
        /// <param name="quantity">待加工产品数量</param>
        /// <returns></returns>
        ProductCollection Create(int quantity);
    }
}
